diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-02 20:04:17 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-02 20:04:17 +0900 |
| commit | 7bdddbacf8610140c0c9db7ccb09d546203ce380 (patch) | |
| tree | c59df43eac4c256d54dbea9491e1604535551230 /app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx | |
| parent | 87ab8fa7aa845e3aa56941d9eeaba03f36f4b3d3 (diff) | |
(김준회) 메뉴명과 화면 내 h태그 일치 시키기, i18n 적용
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx index 3e06cb0f..2319a041 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx @@ -4,6 +4,7 @@ import { eq, desc } from 'drizzle-orm' import db from '@/db/db' import { policyVersions } from '@/db/schema' import { PolicyPageClient } from '@/components/polices/policy-page-client' +import { useTranslation } from "@/i18n" export const metadata: Metadata = { title: '정책 관리 | eVCP Admin', @@ -82,8 +83,10 @@ async function getPoliciesData() { } -export default async function PoliciesPage() { +export default async function PoliciesPage(props: { params: Promise<{ lng: string }> }) { + const { lng } = await props.params + const data = await getPoliciesData() - return <PolicyPageClient data={data} /> + return <PolicyPageClient data={data as any} lng={lng} /> } |
